home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / Share / Codigo / hh / rsource.exe / Hexen Source / VGAVIEW.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-03-22  |  698 b   |  35 lines

  1.  
  2. //**************************************************************************
  3. //**
  4. //** VGAView.h : Heretic 2 : Raven Software, Corp.
  5. //**
  6. //** $RCSfile: VGAView.h,v $
  7. //** $Revision: 1.1 $
  8. //** $Date: 95/05/11 00:19:48 $
  9. //** $Author: bgokey $
  10. //**
  11. //**************************************************************************
  12.  
  13. #import <appkit/appkit.h>
  14. #import "h2def.h"
  15.  
  16. // a few globals
  17. extern byte    *bytebuffer;
  18.  
  19.  
  20. @interface VGAView:View
  21. {
  22.     id        game;
  23.     int        nextpalette[256];    // color lookup table
  24.     int        *nextimage;        // palette expanded and scaled
  25.     unsigned    scale;
  26.     NXWindowDepth    depth;
  27. }
  28.  
  29. - updateView;
  30. - (unsigned)scale;
  31. - setPalette:(byte *)pal;
  32. - setScale:(int)newscale;
  33.  
  34. @end
  35.